package com.usefullc.crawler.param;

import com.baomidou.mybatisplus.annotation.TableField;
import com.usefullc.common.domain.BaseDomain;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author: Sampson
 * @date: 2/18/23 11:36 PM
 */
@Data
public class CrawlerTaskSubmitParam extends BaseDomain {

    private boolean success;

    private Integer errorStatus;

    private Long activeInstanceId;

    private Long startTime;

    private String url;  //extractUrl

    private String clientTaskId;

    @ApiModelProperty(notes = "返回解析主体")
    @TableField(value="`responseAnalyseBody`")
    private String responseAnalyseBody;

    @ApiModelProperty(notes = "返回主体")
    @TableField(value="`responseBody`")
    private String responseBody;

    @ApiModelProperty(notes = "返回原生头部")
    @TableField(value="`responseRawHeader`")
    private String responseRawHeader;

    private String errContent;
}
